package com.xx.service;

import com.xx.entity.User;

public class UserService {

    public boolean login(User user){
        if("admin".equals(user.getAccount())&&"123".equals(user.getPassword())){
            return true;
        }else {
            return false;
        }
    }
}
